package com.kingbull.web.communic;
//主体报文
public class Subject {
    private Head head;
    private Body body;

    public Subject(Head head, Body body) {
        this.head = head;
        this.body = body;
    }

    public Subject() {
    }

    public void setHead(Head head) {
        this.head = head;
    }
    public Head getHead() {
        return head;
    }

    public void setBody(Body body) {
        this.body = body;
    }
    public Body getBody() {
        return body;
    }

    @Override
    public String toString() {
        return "Subject{" +
                "head=" + head +
                ", body=" + body +
                '}';
    }
}
